/**
 * 面包屑数据管理
 */
import Vue from 'vue';

const breadCrumb = {
    state: {
        levelList: []
    },
    mutations: {
        SET_BREADCRUMB_LIST: (state, listData) => {
            state.levelList = listData;
        }
    },
    actions: {
        set_breadCrumb_list: ({commit}, listData) => {
            commit('SET_BREADCRUMB_LIST', listData);
        }
    }
};

export default breadCrumb;
